home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000221_news@newsmaster….columbia.edu _Tue Oct 27 11:08:04 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA18683
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 27 Oct 1998 11:08:04 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA11257
  7.     for kermit.misc@watsun; Tue, 27 Oct 1998 11:08:03 -0500 (EST)
  8. Path: news.columbia.edu!panix!logbridge.uoregon.edu!xmission!news.cc.utah.edu!cc.usu.edu!jrd
  9. From: jrd@cc.usu.edu (Joe Doupnik)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Q. about running kermit over a proprietary transmission network
  12. Message-ID: <NnDzx8U6YImc@cc.usu.edu>
  13. Date: 27 Oct 98 08:13:02 MDT
  14. References: <713hfu$3na$1@nnrp1.dejanews.com>
  15. Organization: Utah State University
  16. Lines: 75
  17. Xref: news.columbia.edu comp.protocols.kermit.misc:9421
  18.  
  19. In article <713hfu$3na$1@nnrp1.dejanews.com>, tony_w_k_wu@my-dejanews.com writes:
  20. > Hi
  21. > I want to run kermit over 57600 baud async. serial through a
  22. > proprietary transmission system/network and comes out serially
  23. > into another device. The typical transfer file size are
  24. > about 300Kbyte. (up to 1 -2 Mbyte max)
  25. > The proprietary transmission system is a CSMA/CD kind of LAN.
  26. > Its speed is around 44Kbaud and it is NOT noisy.
  27. > Note: the proprietary transmission system is about 10-20%
  28. > slower than the serial link.
  29. > It support :
  30. > a) UNACK type of transmission of data packet with 88bytes data
  31. >    payload. (quick and no guarantee of delivery)
  32. >    latency is about 40 ms per 88bytes data packet.
  33. > b) ACK type of transmission with segmentation/reassembly capability
  34. >    and arbitrary data length. (guarantee delivery)
  35. > I need to build some software in the proprietary transmission system
  36. > to convert the kermit over serial into
  37. > either a) or b) type of transmission format. (or even combination of
  38. > both)
  39. > Note: there is no HW flow control ie RTS/CTS between the serial
  40. >       link
  41. > Note: XON and XOFF is delivered transparently to the target device.
  42. > Original thought is to build something extremely simple base on
  43. > a) type of transmission.
  44. > With a scheme like the follow:
  45. >    send a packet if I receive 88bytes serially or I have not
  46. >    send a packet in last 20ms and send whatever number of bytes
  47. >    I have received.
  48. > Alternatively,
  49. >    I can look at the kermit initialization and negotiation sequence
  50. >    to figure out the packet length, window size. Look for the ^A and
  51. >    EOL to delimit each packet. And pack each kermit packet into
  52. >    type a) or type b) transmission adaptively. e.g. ACK/NAK kermit packet
  53. >    on type a) and data packet on type b).
  54. > What do you think about the 2 schemes? Would I be able to gain any throughput
  55. > improvement with the alternative scheme? How would you configure the window
  56. > size and packet size in kermit to maximize throughput? Any thing I should
  57. > take special care of when I am building something described above? Any other
  58. > ideas to get the max througput?
  59. -------
  60.     The Kermit protocol presumes "the wire" is noisy, lossy, and generally
  61. anxious to destroy data. Thus Kermits provide error checking, retries,
  62. timeouts, sequence numbers, and selective repeat sliding windows. All but
  63. the last are requirements for a robust protocol independent of the quality
  64. and delay of "the wire."
  65.     If you add reliability (point to point low level ACKs and retries)
  66. to your wire (speaking algorithmically) then that reliability introduces
  67. time delays. Those delays can compete with what Kermit does, and it is
  68. not simple to predict the maximum throughput combination.
  69.     What your wire lacks is flow control, the killer of many comms links.
  70. Fix that and let the high level protocols, such as Kermit, take care of
  71. recovering from missing data.
  72.     It is a very un-good idea to try spoofing protocols by providing
  73. synthetic ACKs and so on. The wire lies like a bandit because while ACKing
  74. to the Kermit sender it has in fact not delivered the data to the far
  75. end. And your scheme will be out of date as the protocol details evolve.
  76. Telebit tried this with their modems and the results were not worth the
  77. effort. I shudder each time I see an outfit try faking things this way.
  78.     One guesses you are playing with a radio link, a cell phone or
  79. similar spread spectrum arrangement. Just get flow control implemented
  80. so that overrun data loss is miminised at the interfaces to the high level
  81. protocols. The protocols will take care of the rest, and one then tunes
  82. them based on particular link characteristics.
  83.     Joe D.
  84.     Joe D.